package com.easylinkin.linkappapi.calculaterule.constant;

/**
 * <p>
 * 告警管理常量
 * </p>
 *
 * @author TongJie
 * @since 2021/1/20 15:01
 */
public interface CalculateConfigConstant {

    /**
     * 类别：电-electric,水-water，气-air,人流量-peopleVolume
     */
    enum TypeEnum {
        /**
         * 水
         */
        WATER("water", "水"),

        /**
         * 气
         */
        AIR("air", "气"),
        /**
         * 电
         */
        ELECTRIC("electric", "电"),

        /**
         * 人流量
         */
        PEOPLE_VOLUME("peopleVolume", "人流量");

        private final String type;

        private final String description;

        TypeEnum(String type, String description) {
            this.type = type;
            this.description = description;
        }

        public String getType() {
            return type;
        }

        public String getDescription() {
            return description;
        }
    }

}
